<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
	<class name="cn.firstsoft.modules.workflow.domain.WorkflowStepDirect"
		table="WORKFLOW_STEPDIRECT">
		<id name="id" type="integer">
			<column name="id" />
			<generator class="native">
				<param name="sequence">WORKFLOW_STEPDIRECT_ID_SEQ</param>
			</generator>
		</id>
		<many-to-one name="workflowStep"
			class="cn.firstsoft.modules.workflow.domain.WorkflowStep" fetch="select">
			<column name="workflow_step_id"></column>
		</many-to-one>
		<many-to-one name="workflowIntegration"
			class="cn.firstsoft.modules.workflow.domain.WorkflowIntegration" fetch="select">
			<column name="workflow_integration_id"></column>
		</many-to-one>
	</class>

</hibernate-mapping>